package com.hikw;

import com.hikw.utils.EmailUtils;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * @Description:
 * @ClassNmae: TstApplication
 * @Author: 何同学
 * @DateTime: 2022-02-24 22:54
 **/
@SpringBootTest
public class TstApplication {

    @Autowired
    private EmailUtils emailUtils;


    @Test
    void test() {
        emailUtils.sendSimpleMail("yhe,cq@qq.com", "测试java-mail主题", "你好springboot-email");
    }

}

